//
//  PizzaStore.h
//  Charles
//
//  Created by Charles on 2017/6/15.
//  Copyright © 2017年 charles. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Factory.h"
#import "Pizza.h"

typedef NS_ENUM(NSInteger,PizzaType){
    PizzaTypeCheese = 1,
    PizzaTypePepperoni,
    PizzaTypeClam,
    PizzaTypeVeggie
};

@protocol PizzaStore <NSObject>

@required
- (Pizza *)orderPizza:(PizzaType)type;
- (Pizza *)createPizza:(PizzaType)type;

@end

@protocol CLPizzaStore <NSObject>

@required
- (CLPizza *)orderPizza:(PizzaType)type;
- (CLPizza *)createPizza:(PizzaType)type;

@end

@interface NYStylePizzaStore : NSObject<PizzaStore>

@end

@interface CLNYStylePizzaStore : NSObject<CLPizzaStore>

@end
